<h1>Documents</h1>
<%= link_to_remote('Add a new document', {:url=>{:action=>'add_form'}, :update=>'new'}, {:class=>'button'}) %>
<%= link_to('Back to requirements', {:controller=>'requirements', :action=>'index'}, {:class=>'button'}) %><br/>
<br/>
<div id="new"></div>
<div id="list">

<ul>
<%= render(:partial=>'doc', :collection=>@docs) %>
</ul>

</div>

